package com.yanjiali.enumerate;

/**
 * @Package: com.yanjiali.enumerate
 * @Author: yanjiali
 * @Created: 2025/4/12 18:02
 * 用户角色枚举类
 */
public enum UserRoleEnum {

    ROLE_ADMIN("ROLE_ADMIN"),   //管理员
    ROLE_MEMBER("ROLE_MEMBER"), //普通用户
    ROLE_AUTHOR("ROLE_AUTHOR")  //创作者
    ;

    private final String roleString;

    UserRoleEnum(String roleString) {
        this.roleString = roleString;
    }

    public String getRoleString() {
        return roleString;
    }
}
